package com.wjbgn.electronicnian.service;

import com.wjbgn.electronicnian.dto.Result;
import com.wjbgn.electronicnian.entity.NianDO;
import com.baomidou.mybatisplus.extension.service.IService;
/**
 * Description: 
 * Create Date: 2022-01-20T11:06:12.859722400
 * @author weirx
 * @version 1.0
 */
public interface NianService extends IService<NianDO> {

    /**
     * 根据用户id创建年兽，返回年兽id
     * @param id
     * @param username
     * @author weirx
     * @return int
     * @date: 2022/1/20
     */
    NianDO createNian(Long id, String username);

    Result getNian(Long id);
}